package com.world.business.user.domain.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 用户装备
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-27
 */
@Data
public class UserEquipmentAddRequest {

    @ApiModelProperty("用户id")
    @NotNull(message = "用户Id必填")
    private Long userId;

    @ApiModelProperty("对应id")
    @NotNull(message = "装备Id必填")
    private Long relationId;

    @ApiModelProperty("设备类型")
    private String type;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("拥有数量，默认值为1")
    private Integer num;

    @ApiModelProperty("装备完整度,默认值为1.0")
    private Double integrity;

}
